package com.cowain.monitor.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.cowain.monitor.entity.ErpNorderEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  
 *  * @author 冬暖
 *  * @projectName pms-monitor
 *  * @title     ErpNorDerServiceDao   
 *  * @package    com.cowain.monitor.dao  
 *  * @description    物料申请单       
 *  * @date   2020/7/28 9:36  
 *  * @version V1.0.0
 *  
 */
@Mapper
public interface ErpNorDerDao extends BaseMapper<ErpNorderEntity> {
    /**
     * 获取物料申请单
     * @param isDel 状态
     * @return 物料申请单
     */
    List<ErpNorderEntity> findListOrder(@Param("isDel") Long isDel);

    /**
     * 批量修改状态
     * @param norderEntityList 物料列表
     */
    void updateOrderNo(List<ErpNorderEntity> norderEntityList);
}
